package com.lanjiyin.cloud.question.frount.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.lanjiyin.cloud.api.entity.PassportTikuClassify;
import com.lanjiyin.cloud.api.vo.PassportTikuClassifyVo;
import com.lanjiyin.cloud.common.msg.Result;
import com.lanjiyin.cloud.common.rest.BaseController;
import com.lanjiyin.cloud.question.biz.PassportTikuClassifyBiz;
import com.lanjiyin.cloud.question.frount.service.PassportTikuClassifyService;

@RestController
@RequestMapping("/frount/passportTikuClassify")
public class PassportTikuClassifyController extends BaseController<PassportTikuClassifyBiz,PassportTikuClassify> {
	
	
	@Autowired
	private PassportTikuClassifyService passportTikuClassifyService;
	
	/**
	 * 获取分类列表
	 * @return
	 */
	@GetMapping("selectList")
	public Result<List<PassportTikuClassifyVo>> selectList(){	
		List<PassportTikuClassifyVo> list = passportTikuClassifyService.selectList();
		return new Result<List<PassportTikuClassifyVo>>(list);	
	}



}